package com.design.pattern.decorator;

/**
 * 装饰器
 */
public class RoomDecorator implements Room {
    private Room room;
    public RoomDecorator(Room room){
        this.room=room;
    }
    @Override
    public void show() {
        System.out.println("装修一下");
        room.show();
        System.out.println("维护一下");
    }
}
